package name.huzhenbo.java.algorithm.talent.twentyfour;

import java.util.List;

public final class TwentyFourOperand {
    private List<Double> operands;

    public TwentyFourOperand(List<Double> doubles) {
        this.operands = doubles;
    }

    public List<Double> getOperands() {
        return operands;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        for (Double operand : operands) {
            sb.append(operand + "");
        }
        return sb.toString();
    }
}
